package cn.yerly.sakura.dao.model;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 规格
 * 
 * @author yerly
 *
 */
@Entity
public class Spec {
	@Id
	private Long id;
	private String name;
	private Boolean iamgable;
	private Boolean disabled;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getIamgable() {
		return iamgable;
	}

	public void setIamgable(Boolean iamgable) {
		this.iamgable = iamgable;
	}

	public Boolean getDisabled() {
		return disabled;
	}

	public void setDisabled(Boolean disabled) {
		this.disabled = disabled;
	}

	@Override
	public String toString() {
		return "Spec [id=" + id + ", name=" + name + ", iamgable=" + iamgable
				+ ", disabled=" + disabled + "]";
	}

}
